<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>多选框</title>
</head>
<body>
  兴趣爱好：
  <input type="checkbox" checked>写前端代码 
  <input type="checkbox">写后端代码 
  <input type="checkbox">写全栈代码 
</body>
</html>